AmpProject\AmpWP\BackgroundTask\MonitorCssTransientCaching S

Total Complexity 26
Dependencies 5
Dependents 1
Total lines 248
Lines of code 78
Logical lines of code 40
Comment lines 130
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
process()
S
53 7 22
handle_plugin_update()
S
71 3 5
calculate_average()
S
65 2 9
get_threshold()
S
74 2 4
get_sampling_range()
S
74 2 4
register()
S
75 1 4
get_interval()
S
81 1 3
get_event_name()
S
81 1 3
is_css_transient_caching_disabled()
S
79 1 3
disable_css_transient_caching()
S
80 1 3
query_css_transient_count()
S
71 1 6
get_time_series()
S
79 1 3
get_default_threshold()
S
81 1 3
get_default_sampling_range()
S
81 1 3
persist_time_series()
S
79 1 3